function OS_Actor(host, id) {
	this.$super = OS_Sprite;
	if(this.$super(host, id) === false) return;
	delete this.$super;

	this.actions = {};

	this.loadActions = function() {
		var actionlist = this.resourceNode.getElementsByTagName("actions")[0].getElementsByTagName("action");
		for(var i = 0; i < actionlist.length; i++) {
			var action = actionlist[i];
			var index = action.getAttribute("index");
			var frameid = action.childNodes[0].nodeValue;
			this.actions[index] = OS_Resource.resource.get(frameid);
		}
	};
}